package com.zzedu.framework.transaction;

import java.util.function.Supplier;

/**
 * 事务服务模板
 *
 * @author Administrator
 */
public interface ITransactionHandlerService {

    /**
     *
     * @param supplier
     * @param <T>
     * @return
     */
    public <T> T runInTransaction(Supplier<T> supplier);

}
